import axios from './axios';
//用户管理相关

//登录
export const doLog = data => axios.post('/user/login',data)
//注册
export const doReg = data => axios.post('/user/regin',data)
//验证码
export const regincode = data => axios.post('/user/regincode',data)
//个人信息
export const getUserInfo = params => axios.get('/user/info',params)
//修改个人信息
export const changeUserInfo = params => axios.put('/user/changeinfo',params)